﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo5_1_3
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Debugger.Break();
            var list = new MyList<int>();
            list.Add(120);
            Console.ReadLine();
        }
    }

    public class MyList<T> 
    {
        public T[] arr = new T[10];
        public void Add(T t) 
        {
            arr[0] = t;
        }

    }
}
